import request from '@/utils/request'

export function getMajorList(data) {
  return request({
    url: '/major/find-major',
    method: 'post',
    data
  })
}

export function addMajor(data) {
  return request({
    url: '/major/add-major',
    method: 'post',
    data
  })
}
